Meta description:
The creature has the ability to petrify those who dare cross their stare. This way, it deals Petrifying points for 10 seconds. After 5 seconds, half the Petrifying points vanish but reapplying Petrifying points resets the duration to 10 seconds.\r\nThe Petrifying points reduce the target's AP regeneration proportionally to their maximum HP (1 Petrifying point on a 10 max HP creature reduces their AP regeneration by 10%).\r\n\r\nIf the number of Petrifying points is equal or greater than the creature's maximum HP, it becomes petrified for 1 hour. While petrified, the creature is unconscious (0 AP/s), their posture cannot be changed and they start to suffocate (It is still possible to do mouth-to-mouth to oxygenate the creature). They also receive Weakness 2 for Ice and Blunt damage as well as Resistance 2 to Piercing and Slashing damage.
-
Tags:
No tags
-
Name:
aPetrifyingStare
-
Displayed name:
Petrifying stare
-
Description:
The creature has the ability to petrify those who dare cross their stare. This way, it deals Petrifying points for 10 seconds. After 5 seconds, half the Petrifying points vanish but reapplying Petrifying points resets the duration to 10 seconds. The Petrifying points reduce the target's AP regeneration proportionally to their maximum HP (1 Petrifying point on a 10 max HP creature reduces their AP regeneration by 10%). If the number of Petrifying points is equal or greater than the creature's maximum HP, it becomes petrified for 1 hour. While petrified, the creature is unconscious (0 AP/s), their posture cannot be changed and they start to suffocate (It is still possible to do mouth-to-mouth to oxygenate the creature). They also receive Weakness 2 for Ice and Blunt damage as well as Resistance 2 to Piercing and Slashing damage.
-
Cast description:
| AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: vRange.string** | On a successful **vTest.string** test **MR vMR.string** [1d20]: The target receives vPetrifyingDice.string [vPetrifyingDice.string] Petrifying points for the next 10 seconds. *The target can react to this action with their Resist to negate the effect(s).*
-
Condition:
assert(character.sFlux.current >= vFluxCost.value, [[You don't have enough Flux]])
-
AP cost:
3
-
Cooldown:
5
-
Flux cost:
apMod(vAP)*cdMod(vCD)*targetMod(1,0)*durMod(10)*vRange*effect(vPetrifyingDice*105,50)
-
Variables:
vRange = ListVariable([[vRange]], [[Range]], {[[shortMod]]}, {[[5m]]}) vTest = ListVariable([[vTest]], [[Test]], {[[character.sResilience]]}, {[[Resilience]]}) vMR = StatVariable([[vMR]], [[vTest]]) vPetrifyingDice = NumberVariable([[vPetrifyingDice]], [[Petr.d.]], [[1]], [[10]], [[1]]) vPetrifyingDice.valueDisplay.value = [[ self .. "d6" ]]
-
On used script:
character.sFlux:changeCurrent(-vFluxCost.value) action.currentCD:set(vCD.value)
-
Type:
1
-
Action effects:
-
Use case:
number(vPetrifyingStarePoints.value>0)*3
-
Name:
Petrifying stare points
-
Description:
For a total of vPetrifyingStarePoints.string Petrifying points.
-
Script:
if (not character:has([[mPetrifyingPoints]])) then effect = character:createEffect([[mPetrifyingPoints]]) effect.displayName:set([[Points de pétrification]]) effect.script:set([=[stat = character:createStat([[sPetrifyingPoints]], [[dependant]]) stat.displayName:set([[Points de pétrification]]) character.sRegenAP:addCurrent([[-max(sPetrifyingPoints/sMaxHP,0)*100%]], [[physical]], [[Points de pétrification]])]=]) effect.recurrentScript:set([=[if (character.mPetrifyingPoints.duration.value == 5) then character.sPetrifyingPoints:changeCurrent(-character.sPetrifyingPoints.current / 2) end]=]) effect:activate() end character.mPetrifyingPoints.duration:set(10) character.sPetrifyingPoints:changeCurrent({{vPetrifyingStarePoints.value}})
-
Variables:
vPetrifyingStarePoints = NumberVariable([[vPetrifyingStarePoints]], [[Petr.p.]], [[0]])
-